package com.myapp.imp.shop.msg;

import java.io.IOException;

import com.myapp.imp.shop.logical.GC_Shop_ShowEquipLogical;
import com.myapp.msg.ann.MsgDefine;
import com.myapp.msg.base.BaseMsg;
import com.myapp.msg.type.MsgPermission;


/**
 * 文件名：GC_Shop_ShowEquipMsg.java
 * <p>
 * 功能：读取系统可出售装备信息
 * <p>
 * 版本：1.0.0
 * <p>
 * 作者：Builderd by AppTools
 * <p>
 */
@MsgDefine(id = 10402, name = "GC_Shop_ShowEquip", permission = MsgPermission.AUTHORIZE, logicalClass = GC_Shop_ShowEquipLogical.class)
public class GC_Shop_ShowEquipMsg extends BaseMsg {

	public GC_Shop_ShowEquipMsg(){
	}

	//装备id
	private String name = null;
			
	//装备id的get方法
	public String getName() {
		return name;
	}

	//装备id的set方法
	public void setName(String name) {
		this.name = name;
	}
	
	@Override
	public void read() throws IOException {
		//读取Field
		//读取装备id
		this.setName(this.readString());
		
		//读取Bean
	}
	
	@Override
	public void write() throws IOException {
		//写入装备id
		this.writeString(this.getName());
		
	}
}
